//
//  NCChatViewRightCell.m
//  AGEmojiKeyboard
//
//  Created by LINAICAI on 2018/4/13.
//

#import "NCChatViewRightCell.h"
#import "NCChatTextMessage.h"
@implementation NCChatViewRightCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.usrNameLabel.font = [UIFont systemFontOfSize:13];
    self.usrNameLabel.textColor = [UIColor grayColor];
    
    
    self.contentLabel.font = [UIFont systemFontOfSize:14];
    self.contentLabel.textColor = [UIColor whiteColor];
    self.contentLabel.numberOfLines = 0;
    self.contentLabel.linkAttributes = @{(NSString *)kCTUnderlineStyleAttributeName : [NSNumber numberWithBool:NO],
                                         (NSString*)kCTForegroundColorAttributeName : (id)[[UIColor colorWithRed:190/255.0 green:226/255.0 blue:255/255.0 alpha:1.0] CGColor]};
    
    
    self.avatorImage.layer.cornerRadius = 34.0/2;
    self.avatorImage.layer.masksToBounds = YES;
    
    self.contentImage.tintColor = [UIColor colorWithRed:67/255.0 green:177/255.0 blue:255/255.0 alpha:1.0];
    
    self.contentImage.image = [[NCChatUIImage(@"icon_sender_text_node_normal")imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate] resizableImageWithCapInsets:UIEdgeInsetsMake(20, 20, 20, 20) resizingMode:UIImageResizingModeStretch];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
